package org.mc.bean;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by luoxf on 2018/5/29.
 */
@Document(indexName = "test", type = "account")
@Data
public class Account implements Serializable {

    @Id
    private Long id;

    private Long accountNo;

    private String name;

    private Long balance;

    private Date createTime;


}
